package com.vito.oa.act.extend.service;

import java.util.List;

import com.vito.act.model.ActExBussModel;
import com.vito.act.service.ActExBussService;
import com.vito.base.model.DataGrid;
import com.vito.oa.act.extend.model.OaActEExBussDefModel;
import com.vito.oa.act.extend.model.OaActExBussModel;

/**
 * 系统流程控制
 * 
 * @author xuezhennan
 *
 */
public interface OaActExBussService extends ActExBussService {
	/**
	 * 新建流程
	 * 
	 * @param actExBussModel
	 * @param json
	 * @return
	 */
	public int saveActExBuss(OaActExBussModel actExBussModel, List json);

	/**
	 * 修改流程信息
	 * 
	 * @param actExBussModel
	 * @return
	 */
	public int updateActExBuss(OaActExBussModel actExBussModel);

	/**
	 * 查询系统流程
	 * 
	 * @param actExBussModel
	 * @return
	 */
	public DataGrid<ActExBussModel> queryActExBuss(OaActExBussModel actExBussModel);

	/**
	 * 查询流程节点所有属性
	 * 
	 * @param actExBussModel
	 * @return
	 */
	public DataGrid<OaActEExBussDefModel> queryActBussDef(OaActEExBussDefModel actExBussModel);

}
